package com.naiterui.ehp.ps.schedule.exception;

import com.naiterui.ehp.bp.support.exception.BusinessException;

/**
 * 业务级异常
 * <P>File name : BusinessException.java </P>
 * <P>Author : zhouyanxin </P>
 * <P>Date : 2014-9-29 </P>
 */
@SuppressWarnings("unused")
public class ScheduleBusinessException extends BusinessException {

    /**
     *
     */
    private static final long serialVersionUID = 651187004270593227L;

    private String msg;

    /**
     * 构造函数
     *
     * @param code
     */
    public ScheduleBusinessException(int code) {
        super(code);
    }

    /**
     * 创建DoctorBusinessException实例
     *
     * @param code
     * @param msg
     *
     * @throws 异常信息
     */
    public ScheduleBusinessException(int code, String msg) {
        super(code, msg);
        this.msg = msg;
    }

    public ScheduleBusinessException(int code, Throwable cause) {
        super(code, cause);
    }

    public String getMsg() {
        return this.msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}